package com.xgl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xgl.pojo.RespBean;
import com.xgl.pojo.RespPageBean;
import com.xgl.pojo.Rewardinfo;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 学生获奖信息 服务类
 * </p>
 *
 * @author 最最帅气的熊国林
 * @since 2021-05-09
 */
public interface IRewardinfoService extends IService<Rewardinfo> {
    /**
     * 分页查询所有学生获奖信息
     * @param currentPage
     * @param size
     * @param rewardinfo
     * @param beginDateScope
     * @return
     */
    RespPageBean getRewardinfoByPage(Integer currentPage, Integer size, Rewardinfo rewardinfo, LocalDate[] beginDateScope);

    /**
     * 增加学生获奖信息
     * @param rewardinfo
     * @return
     */
    RespBean addRewardinfo(Rewardinfo rewardinfo);

    /**
     * 查询单个学生获奖信息
     * @param
     * @return
     */
    List<Rewardinfo> getRewardInfo(Integer id);

    RespBean insertHashCode(Integer id, String hashCode);
}
